import request from '../util/axios'

// 全局文件上传  bucketType: 存储桶类型：arc-档案文件；use-利用文件；sys-系统文件
export const requestUploadFile = (bucketType, data) => {
  return request({
    url: `/yuyi-user-boot/api/sys/v1/sysUser/bucketType/${bucketType}/fileUpload`,
    method: 'post',
    data
  })
}
